#pragma once

#include <QtWidgets/QMainWindow>
#include "ui_QS1.h"
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QDesktopServices>

#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/qnetworkreply.h>
#include <QtNetwork/qnetworkrequest.h>

class QS1 : public QMainWindow
{
    Q_OBJECT

public:
    QS1(const QString &file,const QUrl &url,const QString &dir,QWidget *parent);
    ~QS1();
    void downLoadFile();
    void destoyData();

private:
    Ui::QS1Class ui;
    void downLoadFinishedSignal();
    void downLoadProcess(QString, qint64, qint64);

public slots:

signals:


};
